<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<s:set name="getSysDict" value=":[@com.sitech.ibnms.util.SysDictUtil@getSysDict(#this)]"/>
<s:set name="toJSON" value=":[@com.sitech.ibnms.util.JSONUtil@toJSON(#this)]"/>
<script type="text/javascript" src="<%=application.getContextPath()%>/njs/ued/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="<%=application.getContextPath()%>/njs/basd/common/jquery.form.js"></script>
<script type="text/javascript" src="<%=application.getContextPath()%>/njs/basd/common/commons.src.js"></script>
<script type="text/javascript" src="<%=application.getContextPath()%>/0/libs/moment/moment.min.js"></script>
<script type="text/javascript" src="<%=application.getContextPath()%>/njs/basd/common/jquery.json-2.3.js"></script>
<script type="text/javascript" src="<%=application.getContextPath()%>/njs/basd/common/jquery.cookies.min.js"></script>
<script type="text/javascript">
    $.extend({
        getSysDict:function(dictId,param,callback){
            var result;
            $.ajax({
                url:'<s:url action="getSysDict" namespace="/ibnms/common"/>',
                data:{dict:{dictId:dictId},paramsMap:param},
                async:false,
                success:function(data){
                    result=data;
                    if($.isFunction(callback)){
                        callback.apply(this,arguments);
                    }
                }
            });
            return result;
        }
    });
</script>